Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: milo/frontend/main_test.go

Issue 2949783002: [milo] appengine/* -> * (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « milo/frontend/main.go ('k') | milo/frontend/module-api.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package frontend 5 package frontend
6 6
7 import ( 7 import (
8 "flag" 8 "flag"
9 "fmt" 9 "fmt"
10 "io/ioutil" 10 "io/ioutil"
11 "net/http" 11 "net/http"
12 "net/url" 12 "net/url"
13 "path/filepath" 13 "path/filepath"
14 "regexp" 14 "regexp"
15 "strings" 15 "strings"
16 "testing" 16 "testing"
17 "time" 17 "time"
18 18
19 "golang.org/x/net/context" 19 "golang.org/x/net/context"
20 20
21 "github.com/luci/gae/impl/memory" 21 "github.com/luci/gae/impl/memory"
22 "github.com/luci/luci-go/common/clock/testclock" 22 "github.com/luci/luci-go/common/clock/testclock"
23 » "github.com/luci/luci-go/milo/appengine/common" 23 » "github.com/luci/luci-go/milo/common"
24 » "github.com/luci/luci-go/milo/appengine/job_source/swarming" 24 » "github.com/luci/luci-go/milo/job_source/swarming"
25 "github.com/luci/luci-go/server/auth" 25 "github.com/luci/luci-go/server/auth"
26 "github.com/luci/luci-go/server/auth/authtest" 26 "github.com/luci/luci-go/server/auth/authtest"
27 "github.com/luci/luci-go/server/auth/identity" 27 "github.com/luci/luci-go/server/auth/identity"
28 "github.com/luci/luci-go/server/settings" 28 "github.com/luci/luci-go/server/settings"
29 "github.com/luci/luci-go/server/templates" 29 "github.com/luci/luci-go/server/templates"
30 30
31 . "github.com/smartystreets/goconvey/convey" 31 . "github.com/smartystreets/goconvey/convey"
32 ) 32 )
33 33
34 type testPackage struct { 34 type testPackage struct {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 localBuf, err := load(fn ame) 112 localBuf, err := load(fn ame)
113 So(err, ShouldBeNil) 113 So(err, ShouldBeNil)
114 So(fixZeroDuration(strin g(buf)), ShouldEqual, fixZeroDuration(string(localBuf))) 114 So(fixZeroDuration(strin g(buf)), ShouldEqual, fixZeroDuration(string(localBuf)))
115 } 115 }
116 }) 116 })
117 } 117 }
118 }) 118 })
119 } 119 }
120 }) 120 })
121 } 121 }
OLDNEW
« no previous file with comments | « milo/frontend/main.go ('k') | milo/frontend/module-api.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698