Move private APIs to private namespace

Fixes #2078
This commit is contained in:
Steve Gravrock
2025-09-27 13:21:09 -07:00
parent fbec066837
commit 168ff0a751
183 changed files with 2627 additions and 2459 deletions

View File

@@ -1,20 +1,20 @@
describe('NotEmpty', function() {
it('matches a non empty object', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
expect(notEmpty.asymmetricMatch({ undefined: false })).toBe(true);
expect(notEmpty.asymmetricMatch({})).toBe(false);
});
it('matches a non empty array', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
expect(notEmpty.asymmetricMatch([1, 12, 3])).toBe(true);
expect(notEmpty.asymmetricMatch([])).toBe(false);
});
it('matches a non empty string', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
expect(notEmpty.asymmetricMatch('12312')).toBe(true);
expect(notEmpty.asymmetricMatch('')).toBe(false);
@@ -22,7 +22,7 @@ describe('NotEmpty', function() {
});
it('matches a non empty map', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
const fullMap = new Map();
fullMap.set('one', 1);
const emptyMap = new Map();
@@ -32,7 +32,7 @@ describe('NotEmpty', function() {
});
it('matches a non empty set', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
const filledSet = new Set();
filledSet.add(1);
const emptySet = new Set();
@@ -42,7 +42,7 @@ describe('NotEmpty', function() {
});
it('matches a non empty typed array', function() {
const notEmpty = new jasmineUnderTest.NotEmpty();
const notEmpty = new privateUnderTest.NotEmpty();
expect(notEmpty.asymmetricMatch(new Int16Array([1, 2, 3]))).toBe(true);
expect(notEmpty.asymmetricMatch(new Int16Array())).toBe(false);