One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /* | |
| * Copyright 2016 Kevin Mark | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| @Test | |
| public void clickingOnTheTextOpensANotificationWhichOpensTheResultActivity() { | |
| DeckardActivity activity = Robolectric.setupActivity(DeckardActivity.class); | |
| View text = activity.findViewById(R.id.text); | |
| text.performClick(); | |
| NotificationManager notificationService = (NotificationManager) activity.getSystemService(Context.NOTIFICATION_SERVICE); | |
| ShadowNotificationManager shadowNotificationManager = shadowOf(notificationService); | |
| assertThat(shadowNotificationManager.size(), equalTo(1)); |
| // https://github.com/realm/realm-js/issues/370#issuecomment-270849466 | |
| export default class Realm { | |
| constructor(params) { | |
| this.schema = {}; | |
| this.callbackList = []; | |
| this.data = {}; | |
| this.schemaCallbackList = {}; | |
| params.schema.forEach((schema) => { | |
| this.data[schema.name] = {}; | |
| }); |
| {% comment %} | |
| Instructions: | |
| - Create a blank page called 'Google Base Product Feed'and save it | |
| - Open that page for editing and select 'page.google-feed' from the page template selector | |
| - Add a brief site description to the meta-shop-description snippet | |
| - The feed url should now be available at http://www.yoursite.com/pages/google-base-product-feed | |
| - validate your field at http://validator.w3.org/feed/ | |
| - when ready, submit your feed at http://base.google.com |