-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
System Keyspace 정렬시 앞쪽에 오도록 변경 및 system keyspace 인지 구분 (#29)
* System Keyspace 정렬시 앞쪽에 오도록 변경 및 system keyspace 인지 구분 * System Keyspace 정렬시 앞쪽에 오도록 변경 및 system keyspace 인지 구분 * System Keyspace 정렬시 앞쪽에 오도록 변경 및 system keyspace 인지 구분
- Loading branch information
Showing
9 changed files
with
58 additions
and
33 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
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
10 changes: 0 additions & 10 deletions
10
.../main/java/kr/hakdang/cadio/core/domain/cluster/keyspace/ClusterKeyspaceDetailResult.java
This file was deleted.
Oops, something went wrong.
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
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
27 changes: 27 additions & 0 deletions
27
.../test/java/kr/hakdang/cadio/core/domain/cluster/keyspace/CassandraSystemKeyspaceTest.java
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,27 @@ | ||
package kr.hakdang.cadio.core.domain.cluster.keyspace; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
/** | ||
* CassandraSystemKeyspaceTest | ||
* | ||
* @author seungh0 | ||
* @since 2024-07-05 | ||
*/ | ||
class CassandraSystemKeyspaceTest { | ||
|
||
@Test | ||
void system_keyspace() { | ||
for (CassandraSystemKeyspace keyspace : CassandraSystemKeyspace.values()) { | ||
assertThat(CassandraSystemKeyspace.isSystemKeyspace(keyspace.getKeyspaceName())).isTrue(); | ||
} | ||
} | ||
|
||
@Test | ||
void not_system_keyspace() { | ||
assertThat(CassandraSystemKeyspace.isSystemKeyspace("demo")).isFalse(); | ||
} | ||
|
||
} |