<commit_before>/* jshint jasmine: true */
/* global NativeStorage */
exports.defineAutoTests = function () {
    
    describe('Write/Read Tests', function () {
        it('Objects', function (done) {
            var dummyData = { data1: "", data2: 2, data3: 3.0 };
            NativeStorage.set("dummy_ref_obj",
                dummyData,
                function (result) {
                    NativeStorage.getObject("dummy_ref_obj",
                        function (result) {
                            expect(result).toEqual(dummyData);
                            done();
                        },
                        function (e) {
                            fail("Read Object Failed");
                        });
                },
                function (e) {
                    fail("Write Object Failed");
                });

        });
    });

};<commit_msg>Added Plugin Availability to Test Suite Coverage<commit_after>/* jshint jasmine: true */
/* global NativeStorage */
exports.defineAutoTests = function () {

    describe('Write/Read Tests', function () {
        it("Plugin available", function () {
            expect(NativeStorage).toEqual(jasmine.anything());
        });
        it('Objects', function (done) {
            var dummyData = { data1: "", data2: 2, data3: 3.0 };
            NativeStorage.set("dummy_ref_obj",
                dummyData,
                function (result) {
                    NativeStorage.getObject("dummy_ref_obj",
                        function (result) {
                            expect(result).toEqual(dummyData);
                            done();
                        },
                        function (e) {
                            fail("Read Object Failed");
                        });
                },
                function (e) {
                    fail("Write Object Failed");
                });
        });
    });

};
{'fraction_non_alphanumeric': 0.11822916666666666, 'fraction_numerical': 0.00625, 'mean_word_length': 1.146368715083799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6459336', 'n_tokens_mistral': 463, 'n_tokens_neox': 428, 'n_words': 90}