This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
h1alexbel
committed
Aug 11, 2023
1 parent
20ce06e
commit d516b03
Showing
2 changed files
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,12 @@ | |
import java.util.List; | ||
|
||
/** | ||
* Contents in State. | ||
* Changes inside State. | ||
* | ||
* @author Aliaksei Bialiauski ([email protected]) | ||
* @since 0.0.0 | ||
*/ | ||
public final class Contents implements Scalar<List<String>> { | ||
public final class StateChanges implements Scalar<List<String>> { | ||
|
||
/** | ||
* XPATH lists. | ||
|
@@ -53,7 +53,7 @@ public final class Contents implements Scalar<List<String>> { | |
* @param lst XPATH list | ||
* @param cmg CMIG directory | ||
*/ | ||
public Contents(final XpathList lst, final String cmg) { | ||
public StateChanges(final XpathList lst, final String cmg) { | ||
this.list = lst; | ||
this.cmig = cmg; | ||
} | ||
|
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 |
---|---|---|
|
@@ -31,16 +31,16 @@ | |
import java.util.List; | ||
|
||
/** | ||
* Test suite for {@link Contents}. | ||
* Test suite for {@link StateChanges}. | ||
* | ||
* @author Aliaksei Bialiauski ([email protected]) | ||
* @since 0.0.0 | ||
*/ | ||
final class ContentsTest { | ||
final class StateChangesTest { | ||
|
||
@Test | ||
void readsContentsInRightFormat() throws Exception { | ||
final List<String> value = new Contents( | ||
final List<String> value = new StateChanges( | ||
new Names( | ||
"cmig/master.xml", "1" | ||
), | ||
|