Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create mug:sequence target because it depends on :graph #70

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion mug/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,20 @@ java_library(
"src/main/java/com/google/mu/function/*.java",
"src/main/java/com/google/mu/collect/*.java",
],
exclude = glob(["src/main/java/com/google/mu/util/*StringFormat.java"])),
exclude = glob([
"src/main/java/com/google/mu/util/*StringFormat.java",
"src/main/java/com/google/mu/collect/Sequence.java",
])),
)

java_library(
name = "sequence",
visibility = ["//visibility:public"],
srcs = ["src/main/java/com/google/mu/collect/Sequence.java"],
deps = [
":base",
":graph",
],
)

java_library(
Expand Down Expand Up @@ -88,6 +101,7 @@ junit_tests(
":concurrent",
":format",
":graph",
":sequence",
":tests",
":time",
"@maven//:com_google_guava_guava",
Expand Down
4 changes: 4 additions & 0 deletions mug/src/test/java/com/google/mu/time/DateTimeFormatsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ public void formatOf_monthOfYearMixedIn_withDayOfWeek() {
}

@Test
@SuppressWarnings("DateTimeExampleStringCheck")
public void localTimeExamples(
@TestParameter({
"00:00",
Expand All @@ -466,6 +467,7 @@ public void localTimeExamples(
}

@Test
@SuppressWarnings("DateTimeExampleStringCheck")
public void localDateExamplesFromDifferentFormatters(
@TestParameter({"ISO_LOCAL_DATE", "yyyy/MM/dd"})
String formatterName,
Expand Down Expand Up @@ -548,6 +550,7 @@ public void withZoneIdExamplesFromDifferentFormatters(
}

@Test
@SuppressWarnings("DateTimeExampleStringCheck")
public void zoneIdRetainedExamples(
@TestParameter({
"ISO_DATE_TIME",
Expand Down Expand Up @@ -827,6 +830,7 @@ public void tIsRecognizedAndEscaped() {
}

@Test
@SuppressWarnings("DateTimeExampleStringCheck")
public void offsetTimeExamples(
@TestParameter({"00:00:00+18:00", "12:00-08:00", "23:59:59.999999999-18:00"})
String example) {
Expand Down
Loading