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 (c) 2017 Emil Davtyan | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, | |
* distribute, sublicense, and/or sell copies of the Software, and to | |
* permit persons to whom the Software is furnished to do so, subject to | |
* the following conditions: |
#!/bin/sh | |
# this hook is in SCM so that it can be shared | |
# to install it, create a symbolic link in the projects .git/hooks folder | |
# | |
# i.e. - from the .git/hooks directory, run | |
# $ ln -s ../../git-hooks/pre-commit.sh pre-commit | |
# | |
# to skip the tests, run with the --no-verify argument | |
# i.e. - $ 'git commit --no-verify' |
package com.mohammedlakkadshaw.ken; | |
import java.util.Vector; | |
import org.xml.sax.XMLReader; | |
import android.text.Editable; | |
import android.text.Html; | |
import android.text.Spannable; | |
import android.text.style.BulletSpan; |
// Tested with gradle 1.7 and android plugin 0.5.6 | |
// [..] Your gradle build script | |
// Copy *.so files from libs/ folder of your project to native-libs folder | |
// Adjust if your native libraries are somewhere else.. | |
task copyNativeLibs(type: Copy) { | |
from(new File(project(':yourproject').projectDir, 'libs')) { include '**/*.so' } |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Copyright (C) 2014 The Android Open Source Project | |
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 |
# | |
# Build configuration for Circle CI | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/your-app-name/app/build/outputs/apk/ | |
machine: | |
environment: |
// GSON can parse the data. | |
// | |
// Deserialization: | |
// Note there is a bug in GSON 2.3.1 that can cause it to StackOverflow when working with RealmObjects. | |
// To work around this, use the ExclusionStrategy below or downgrade to 1.7.1 | |
// See more here: https://code.google.com/p/google-gson/issues/detail?id=440 | |
// | |
// Serialization: | |
// <Type>RealmProxy objects are created by the Realm annotation processor. They are used to control | |
// access to the actual data instead of storing them in fields and it is therefore them we need to register a |
Create the main Progressbar wrapper in your main source code. Use it instead of the android.widget.Progressbar
as it will just forward all calls to the default Progressbar.
In your androidTest package create the Progressbar
class in the exact same package as you did in the main source code. This way all your UI tests will call this ProgressBar
instead of the default one.
And since the modifications prevent the Progressbar from showing and animating, the UI thread won't be blocked and Espresso can continue the test.
package stackoverflow; | |
import org.testng.annotations.BeforeClass; | |
import org.testng.annotations.Test; | |
import javax.imageio.ImageIO; | |
import java.awt.image.BufferedImage; | |
import java.io.*; | |
public class ConvolutionTest { |