-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #475 from cquiroz/SEQNG-547
SEQNG-547: Timezone generation bugfix
- Loading branch information
Showing
5 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...emini.seqexec.web.client/src/test/scala/edu/gemini/seqexec/web/client/TimeZonesSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright (c) 2016-2017 Association of Universities for Research in Astronomy, Inc. (AURA) | ||
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause | ||
|
||
package edu.gemini.seqexec.web.client | ||
|
||
import org.scalatest.{FlatSpec, Matchers} | ||
import java.time.ZoneId | ||
|
||
class TimeZonesSpec extends FlatSpec with Matchers { | ||
"TimeZones" should | ||
"include Santiago" in { | ||
ZoneId.of("America/Santiago") should not be(null) | ||
} | ||
it should "include UTC" in { | ||
ZoneId.of("UTC") should not be(null) | ||
} | ||
it should "include Honolulu" in { | ||
ZoneId.of("Pacific/Honolulu") should not be(null) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters