How to integrate AsMock into AsUnit 4? - actionscript-3

Trying to update AsMock mocking framework to v.1.0, and use it with AsUnit 4. But in runtime get a VerifyError (1153, inacceptible override) at the line with [RunWith("asmock.integration.asunit.ASMockRunner")] metatag in the test case class. I use FlashDevelop as an IDE. Have no idea, what's wrong. Could anyone help?

Have you added the includes line to the Flex Compiler arguments field within Eclipse/Flash Developer?
You need to include
-includes asmock.integration.asunit.ASMockRunner
see http://asmock.sourceforge.net/wiki/Installation

AsUnit 4 support was added before it left beta, so it looks like the APIs have changed. I'll have a look into it. In the meantime, I'd recommend adding this as a bug to asMock's bug tracker.

Related

How to load HTML after LoadString() deprecation

I'm using CefSharp WinForms on a .NET project and after upgrading on a version greater than 75.x, I cannot use the method "LoadString" any more. I made some research on web for alternative solution but no luck so far. Some info regarding this issue can be found on "https://magpcss.org/ceforum/viewtopic.php?f=6&t=17231" but it seems that it is not so clear how to solve this problem.
Basically, I was using the above method to load HTML string into the browser (e.g. LoadString("hello world- this is my html", "about:blank")). Now if I use the "LoadHtml" method, I'm getting an empty page.
Did anyone else had a similar issue and found a solution for it?

Swashbuckle cannot change index.html (CustomAsset doesn't exist)

I'm using Swashbuckle for my ASP.NET core project and I want to modify my index.html and I saw this page: https://github.com/domaindrivendev/Swashbuckle/tree/swagger_2.0#provide-your-own-indexhtml that explains exactly how to do that, but the thing is that the method CustomAsset method doesn't seem to exist anymore. I can use the InjectOnCompleteJavascript method and InjectStylesheet without any problem, but there's no CustomAsset to include my html page. Do you know if there's another way to replace the swagger UI?
Thanks,
Claude
I was cursing why this method was not found in dotnetcore.
I moved through from version 1.0.0 of Swashbuckle.AspNetCore and found that at version 1.2.0 a new property appeared called IndexStream
This looks like the new way to provide an Index.html override.

Mark Occurrences does not work in xtend editor in Eclipse Mars

Eclipse behaves strange here. I've updated everything. And "Mark Occurrences" works in a normal Java editor, but it does not in and xtend-editor.
Do you have any information what's the reason for that? Is this a bug?
I've also tried to use the workaround to select something in the outline and switching back to some variable. The workaround doesn't work either.
My Eclipse is running on a Windows 10.
It works in Mars. Did you activate it? Unfortunately, it is disabled by default.

FullFragging example

Is there a FullFragging example with an ActionBar? I don't want to use the support library and I'm having a hard time translating my app from straight up Android to mvvmcross with full fragging.
Thanks.
Possible duplicate of this?
MvxFragments are based on the support library so that it works back to Android 2.2. In the end it looks just like the same thing. I ended up implementing this and it basically just exists in the action bar. You have to set up the tabhost and etc in the xml but I would look at this example.

Eclipse Juno subversive {root_prefix} label decorator does not work

Subversive {root_prefix} label decorator does not work in my Juno.
It worked fine in my Indigo.
Could anyone confirm {root_prefix} works in your Juno?
I really miss this feature to see whether I am working on trunk or branch or tag in package explorer. It seems like IntelliJ does not offer it yet :)
I've had issues with this as well, hence I changed the text decoration for projects to the following:
{outgoing_flag} {name} {revision} [{short_url}]
The {short_url} variable is substituted with a concise label. E.g. "branches/HelloWorld".
The latest version seems fixed the issue. Thanks to subversive developers! Subversive SVN Connectors Version: 3.0.1.I20130331-1700