Exemplo n.º 1
0
        public static void OnDestroy_Return()
        {
            ReactContext _context = new ReactContext();
            var          netInfo  = new NetInfoModule(new DefaultNetworkInformation(), _context);

            netInfo.OnDestroy();
        }
Exemplo n.º 2
0
        public static void Initialize_Return()
        {
            ReactContext _context = new ReactContext();
            var          netInfo  = new NetInfoModule(new DefaultNetworkInformation(), _context);

            netInfo.Initialize();
        }
Exemplo n.º 3
0
        public static void NetInfoModule_ReturnA()
        {
            ReactContext _context = new ReactContext();
            var          netInfo  = new NetInfoModule(_context);

            Assert.NotNull(netInfo);
        }
Exemplo n.º 4
0
        public static void NetInfoModule_ReturnB()
        {
            ReactContext _context = new ReactContext();
            var          netInfo  = new NetInfoModule(new DefaultNetworkInformation(), _context);

            Assert.NotNull(netInfo);
        }
Exemplo n.º 5
0
        public static void getCurrentConnectivity_Return()
        {
            ReactContext _context = new ReactContext();
            var          netInfo  = new NetInfoModule(new DefaultNetworkInformation(), _context);

            netInfo.getCurrentConnectivity(new Promise(new Callback(), new Callback()));
        }